/*
 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Unlicense OR CC0-1.0
 */


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <PWM.h>


/* Attributes State Machine */
enum
{
    IDX_SVC,            //40
    IDX_CHAR_A,         //41
    IDX_CHAR_VAL_A,     //42
    IDX_CHAR_CFG_A,     //43

    IDX_CHAR_B,         //44
    IDX_CHAR_VAL_B,     //45

    IDX_CHAR_C,         //46
    IDX_CHAR_VAL_C,     //47

    //在服务1中相应添加测试D的属性表枚举
    IDX_CHAR_D,         //48
    IDX_CHAR_VAL_D,     //49
        
    HRS_IDX_NB,         //50
};

//添加一个用户service
/*--------------------------------------------------*/
enum
{
    IDX_SVC2,		//servvice 声明
    IDX_CHAR_A2,
    IDX_CHAR_VAL_A2,//特征值
    IDX_CHAR_CFG_A2,//带通知

    IDX_CHAR_B2,
    IDX_CHAR_VAL_B2,

    HRS_IDX_NB2,
};
/*-------------------------------------------------*/

void BLE_Init(void);